Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add try/expect to avoid failure in startup #99

Merged
merged 3 commits into from
Sep 28, 2023
Merged

Conversation

vincentsarago
Copy link
Collaborator

avoid failure in startup event.

@github-actions
Copy link

github-actions bot commented Sep 25, 2023

🍹 preview on cerulean-cloud-images/test

Pulumi report
Previewing update (test):
@ previewing update..........

@ previewing update...............
pulumi:pulumi:Stack cerulean-cloud-images-test running 
docker:image:Image cerulean-cloud-images-test-cloud-run-offset-tile-image  
docker:image:Image cerulean-cloud-images-test-cloud-run-orchestrator-image  
docker:image:Image cerulean-cloud-images-test-cloud-run-tipg-image  
@ previewing update......
gcp:container:Registry cerulean-cloud-images-test-registry  
@ previewing update.....
docker:image:Image cerulean-cloud-images-test-cloud-run-offset-tile-image  Building image '../'...
docker:image:Image cerulean-cloud-images-test-cloud-run-orchestrator-image  Building image '../'...
docker:image:Image cerulean-cloud-images-test-cloud-run-tipg-image  Building image '../'...
@ previewing update.................................................................................................
docker:image:Image cerulean-cloud-images-test-cloud-run-tipg-image  sha256:34e0e9453b209465b91671afcb080da1ad7aefd79873a9ee3c4ab463bba2ec42
docker:image:Image cerulean-cloud-images-test-cloud-run-tipg-image  sha256:34e0e9453b209465b91671afcb080da1ad7aefd79873a9ee3c4ab463bba2ec42
docker:image:Image cerulean-cloud-images-test-cloud-run-tipg-image  Image build succeeded.
@ previewing update........................
docker:image:Image cerulean-cloud-images-test-cloud-run-orchestrator-image  sha256:081acc787c984c52dac5791630fb17b8bef56da89a5f329072712ad8442ad9c5
docker:image:Image cerulean-cloud-images-test-cloud-run-orchestrator-image  sha256:081acc787c984c52dac5791630fb17b8bef56da89a5f329072712ad8442ad9c5
docker:image:Image cerulean-cloud-images-test-cloud-run-orchestrator-image  Image build succeeded.
@ previewing update......................
docker:image:Image cerulean-cloud-images-test-cloud-run-offset-tile-image  sha256:23e69e32d205c4a731945d066bed2f343f22229f238cb6179d1c9f3e50c72b9c
docker:image:Image cerulean-cloud-images-test-cloud-run-offset-tile-image  sha256:23e69e32d205c4a731945d066bed2f343f22229f238cb6179d1c9f3e50c72b9c
docker:image:Image cerulean-cloud-images-test-cloud-run-offset-tile-image  Image build succeeded.
pulumi:pulumi:Stack cerulean-cloud-images-test  

Resources:
5 unchanged

@github-actions
Copy link

🍹 preview on cerulean-cloud/test

Pulumi report
Previewing update (test):
@ previewing update....

+  pulumi:pulumi:Stack cerulean-cloud-test create 
@ previewing update.....
+  pulumi:providers:docker cerulean-cloud-images-test-gcr create 
@ previewing update.......
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: serving_state is deprecated: `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: env_froms is deprecated: `env_from` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: working_dir is deprecated: `working_dir` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
@ previewing update........................................................................................................................................................................................................................................................................
+  docker:index:RemoteImage cerulean-cloud-images-test-remote-orchestrator create 
+  docker:index:RemoteImage cerulean-cloud-images-test-remote-offset create 
+  docker:index:RemoteImage cerulean-cloud-images-test-remote-tipg create 
@ previewing update.......
+  aws:iam:Role cerulean-cloud-test-lambda-titiler-role create 
+  aws:s3:Bucket cerulean-cloud-test-titiler-lambda-archive create 
+  aws:iam:Policy cerulean-cloud-test-lambda-titiler-policy create 
+  aws:apigatewayv2:Api cerulean-cloud-test-lambda-titiler-api create 
@ previewing update.....
+  gcp:storage:Bucket cerulean-cloud-test-bucket-cloud-function create 
+  gcp:cloudtasks:Queue cerulean-cloud-test-queue-cloud-run-orchestrator create 
+  gcp:sql:DatabaseInstance cerulean-cloud-test-database-instance create 
+  gcp:serviceAccount:Account cerulean-cloud-test-cloud-function create 
+  aws:iam:Role cerulean-cloud-test-lambda-sentinel1-iam create 
+  gcp:cloudrun:Service cerulean-cloud-test-cloud-run-offset-tiles create 
+  aws:iam:RolePolicyAttachment cerulean-cloud-test-lambda-titiler-attachment2 create 
+  aws:iam:RolePolicyAttachment cerulean-cloud-test-lambda-titiler-attachment create 
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: serving_state is deprecated: `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: env_froms is deprecated: `env_from` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: working_dir is deprecated: `working_dir` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: serving_state is deprecated: `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: env_froms is deprecated: `env_from` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  pulumi:pulumi:Stack cerulean-cloud-test create warning: working_dir is deprecated: `working_dir` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
+  aws:s3:BucketObject cerulean-cloud-test-titiler-lambda-archive create 
+  gcp:storage:BucketObject cerulean-cloud-test-source-cloud-function-historical-run create 
+  gcp:storage:BucketObject cerulean-cloud-test-source-cloud-function-scene-relevancy create 
+  gcp:projects:IAMMember cerulean-cloud-test-cloud-function-iam create 
+  gcp:sql:Database cerulean-cloud-test-database create 
+  gcp:cloudrun:IamPolicy cerulean-cloud-test-cloud-run-noauth-iam-policy-offset create 
+  gcp:sql:User cerulean-cloud-test-database-users create 
+  gcp:cloudrun:Service cerulean-cloud-test-cloud-run-orchestrator create 
+  gcp:cloudrun:Service cerulean-cloud-test-cloud-run-tipg create 
+  aws:lambda:Function cerulean-cloud-test-lambda-titiler-sentinel create 
+  gcp:cloudrun:IamPolicy cerulean-cloud-test-cloud-run-noauth-iam-policy-orchestrator create 
+  aws:apigatewayv2:Integration cerulean-cloud-test-lambda-titiler-integration create 
+  aws:lambda:Permission cerulean-cloud-test-lambda-titiler-permission create 
+  gcp:cloudrun:IamPolicy cerulean-cloud-test-cloud-run-noauth-iam-policy-tipg create 
+  gcp:cloudfunctions:Function cerulean-cloud-test-cloud-function-scene-relevancy create 
+  aws:apigatewayv2:Route cerulean-cloud-test-lambda-titiler-route create 
+  gcp:cloudfunctions:Function cerulean-cloud-test-cloud-function-historical-run create 
+  gcp:cloudfunctions:FunctionIamMember cerulean-cloud-test-cloud-function-scene-relevancy-invoker create 
+  aws:apigatewayv2:Stage cerulean-cloud-test-lambda-titiler-stage create 
+  gcp:cloudfunctions:FunctionIamMember cerulean-cloud-test-cloud-function-historical-run-invoker create 
+  aws:lambda:Function cerulean-cloud-test-lambda-sentinel1-subscription create 
+  aws:sns:TopicSubscription cerulean-cloud-test-sentinel1-subscription create 
+  aws:lambda:Permission cerulean-cloud-test-lambda-sentinel1-permission create 
+  pulumi:pulumi:Stack cerulean-cloud-test create Creating lambda package [running in Docker]...
+  pulumi:pulumi:Stack cerulean-cloud-test create Building docker image...
+  pulumi:pulumi:Stack cerulean-cloud-test create Copying package.zip ...
+  pulumi:pulumi:Stack cerulean-cloud-test create Copied package package.zip ...
@ previewing update....
+  pulumi:pulumi:Stack cerulean-cloud-test create 9 warnings; 4 messages

Diagnostics:
pulumi:pulumi:Stack (cerulean-cloud-test):
warning: serving_state is deprecated: `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: env_froms is deprecated: `env_from` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: working_dir is deprecated: `working_dir` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: serving_state is deprecated: `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: env_froms is deprecated: `env_from` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: working_dir is deprecated: `working_dir` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: serving_state is deprecated: `serving_state` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: env_froms is deprecated: `env_from` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.
warning: working_dir is deprecated: `working_dir` is deprecated and will be removed in a future major release. This field is not supported by the Cloud Run API.

Creating lambda package [running in Docker]...
Building docker image...
Copying package.zip ...
Copied package package.zip ...

Outputs:
api_key                   : "[secret]"
cloud_run_offset_tile_url : output<string>
cloud_run_orchestrator_url: output<string>
cloud_run_tipg_url        : output<string>
database_instance_name    : output<string>
database_url              : output<string>
database_url_alembic      : [secret]
historical_run_url        : output<string>
scene_relevancy_url       : output<string>
sns_topic_subscription    : output<string>
titiler_sentinel_url      : output<string>

Resources:
+ 40 to create

@jonaraphael jonaraphael temporarily deployed to test September 27, 2023 20:32 — with GitHub Actions Inactive
@jonaraphael jonaraphael merged commit 21aa8e9 into main Sep 28, 2023
@jonaraphael jonaraphael deleted the exceptInStartup branch October 4, 2023 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants